
<?php
	session_start();
	
	function logged_in() { 
		return isset($_SESSION['vartotojasid']);
	}
	require_once("functions.php");
	function confirm_logged_in() {
		if (!logged_in()) {
		redirect_to("index.php");
		}
	}
	
	
	
?>
